import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {RescatalogComponent} from "./rescatalog.component";
import {RescatalogUpdateComponent} from "./rescatalog-update/rescatalog-update.component";
import {RescatalogAddComponent} from "./rescatalog-add/rescatalog-add.component";

const routes: Routes = [
  {
    path: '',
    component: RescatalogComponent
  }, {
    path: 'add',
    component: RescatalogAddComponent
  }, {
    path: 'update',
    component: RescatalogUpdateComponent
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class RescatalogRoutingModule { }
